﻿#region using

using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

#endregion

namespace JupiterLibrary
{
    public class XNAMesh:IRenderObject
    {
        ModelMesh modelMesh;

        public XNAMesh(ModelMesh modelMesh)
        {
            this.modelMesh = modelMesh;
        }

        public void Update(Node node)
        {
        }

        public void Draw(Node node)
        {
            modelMesh.Draw();
        }

    }
}
